from .models import QuestionType,Question


class StudentPaper():

    def __init__(self,paper_info):
        self.paper_info = self.paper_info
        self.paper_dict = {}
        
        self.detail_dict = {}
        
        self.filter_paper()
    def filter_paper(self):
       
        for key,info in self.paper_info.copy().items():
            if info[0] != '' and not key.startswith('csrf') and not key.startswith('paper'):
                
                self.paper_dict[key] = info[0]
                



